<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/safety/material" aria-expanded="true">应急物资管理 </a></li>
                        <li class=""><a href="/app/core/safety/material?view=create" aria-expanded="false">应急物资录入</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="listdiv">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px">物料分类:</span>
                                    <span>
										<select id="materialTypeQuery" style="width: 150px">
                                            <option value="">全部</option>
                                        </select>
                                    </span>
                                    <span style="margin-left: 10px;">物料编码:</span>
                                    <span>
                                        <input readonly="readonly" placeholder="物料编码" style="width: 150px; display: inline-block;" id="codeNoQuery" class="form-control">
                                    </span>
                                    <span style="margin-left: 10px;">关联企业</span>
                                    <span>
                                        <select style="width:250px" id="entIdQuery" name="entIdQuery"></select>
                                    </span>
                                    <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a></span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12" id="materialdiv" style="display: none;">
                                <div class="row">
                                    <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                        <form class="form-horizontal" id="form1">
                                            <table class="table table-hover table-striped table-bordered">
                                                <tr>
                                                    <td width="20%">${i18n('system.sortNo')}：</td>
                                                    <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" maxlength="50" value="" class="form-control"></td>
                                                    <td width="20%">物料分类：</td>
                                                    <td width="30%"><select name="materialType" id="materialType" class="form-control"></select></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">物料名称：</td>
                                                    <td width="30%"><input placeholder="物料名称" type="text" name="materialName" id="materialName" class="form-control" maxlength="100"></td>
                                                    <td width="20%">物料编码：</td>
                                                    <td width="30%"><input placeholder="物料编码" type="text" name="codeNo" id="codeNo" class="form-control" maxlength="40"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">存放地址：</td>
                                                    <td width="30%"><input placeholder="存放地址" type="text" name="place" id="place" class="form-control" maxlength="100"></td>
                                                    <td width="20%">相关企业：</td>
                                                    <td width="30%"><input type="text" style="width:100%" id="entId" name="entId"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">品牌：</td>
                                                    <td width="30%"><input placeholder="品牌" type="text" name="brand" id="brand" class="form-control" maxlength="50"></td>
                                                    <td width="20%">型号：</td>
                                                    <td width="30%"><input placeholder="型号" type="text" name="mode" id="mode" class="form-control" maxlength="50"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">计量单位：</td>
                                                    <td width="30%"><input placeholder="计量单位" type="text" name="unit" id="unit" class="form-control" maxlength="20"></td>
                                                    <td width="20%">保质期：</td>
                                                    <td width="30%"><input placeholder="保质期" type="text" name="guaranteePeriod" id="guaranteePeriod" class="form-control" readonly="readonly"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">当前数量：</td>
                                                    <td width="30%"><input placeholder="当前数量" type="number" name="quantity" id="quantity" class="form-control" maxlength="100"></td>
                                                    <td width="20%">警戒库存：</td>
                                                    <td width="30%"><input placeholder="警戒库存" type="number" name="alterQuantity" id="alterQuantity" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">备注说明：</td>
                                                    <td colspan="3">
                                                        <textarea rows="5" cols="" placeholder="备注说明" id="remark" name="remark" class="form-control"></textarea>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4" align="center">
                                                        <a id="createbut" href="javascript:void(0);" class="btn btn-primary js-update-save">更&nbsp;&nbsp;新</a>
                                                        <a href="javascript:void(0);" class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/assets/js/select2/select2.js"></script>
<script type="text/javascript" src="/gobal/js/page/safety/emergency/materialmanage.js"></script>
</body>
</html>
